package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * description:
 * auth fcb
 * date 2025-06-07 13:44
 **/
@TableName("ocr_info")
@Data
public class OcrInfo {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String  baseId ;

    /** 请求id */
    @TableField(value = "request_id")
    @ApiModelProperty(name = "请求id",notes = "")
    private String requestId ;

    /** 调用类型 */
    @TableField(value = "ocr_type")
    @ApiModelProperty(name = "调用类型",notes = "")
    private String  ocrType ;

    /** 社会统一信息用代码 */
    @TableField(value = "unicode")
    @ApiModelProperty(name = "社会统一信息用代码",notes = "")
    private String  unicode
            ;
    /** 文件id */
    @TableField(value = "file_id")
    @ApiModelProperty(name = "文件id",notes = "")
    private String fileId ;

    /** 创建时间 */
    @TableField(value = "create_time")
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;

    /** 调用是否成功，1：成功，0：失败 */
    @TableField(value = "success")
    @ApiModelProperty(name = "调用是否成功，1：成功，0：失败",notes = "")
    private Integer  success ;

    /** 错误信息 */
    @TableField(value = "error_msg")
    @ApiModelProperty(name = "错误信息",notes = "")
    private String errorMsg ;

}
